package com.atguigu.day20.notify03.n1;

//todo 服务员线程
public class WaiterThread extends Thread {

    //    Bar bar = new Bar();
   /* Bar bar;

    public WaiterThread(Bar bar) {
        this.bar = bar;
    }*/

    @Override
    public void run() {
        while (true) {

            Bar.take();
        }

    }


}
